CXX=g++

CPPFLAGS = `pkg-config --cflags gtk+-2.0, cairo`
LDFLAGS  = `pkg-config --libs gtk+-2.0, cairo`
APP      = zoota

qaholom-all: qahcontainer.cpp qahcontrols.cpp

	g++ -g -c qahcontainer.cpp qahcontrols.cpp

drawingtool: drawingtool.cpp drawingtool.h

	g++ -g -c drawingtool.cpp $(CPPFLAGS)
	
DEPENDS = qahcontainer.o qahcontrols.o drawingtool.o

all: $(DEPENDS) qaholom.cpp zoota.cpp

	g++ -g -o $(APP) $(DEPENDS) qaholom.cpp zoota.cpp $(CPPFLAGS) $(LDFLAGS)

clean:
	rm -rf $(APP) *.o
